package com.validant.enigma3.common;

public class Constants {
	
	public enum Browser {Firefox, Chrome, InternetExplorer, Safari};
	public enum Selector {Xpath, cssSelector, Id, Name, ClassName, ParitalLinkText, LinkText, TagName}	
	
	// for system properties in pom.xml file
	public static final String SYS_CONFIG_TEST_BROWSER = "test.browser";
	public static final String SYS_CONFIG_TEST_BASEURL = "test.baseurl";
	public static final String SYS_CONFIG_TEST_DEF_TIMEOUT = "test.deftimeout";
	public static final String SYS_CONFIG_UI_MAP_FILE = "ui.map.file";
	public static final String SYS_CONFIG_SCREENSHOT_DIR = "test.screenshot.dir";
	
	// for test suite xml file
	public static final String PARAM_TEST_DATA_FILE = "testdatafile";
	public static final String PARAM_LOCAL_URL = "localurl";
	
	// constants
	public static final String CON_SCREENSHOT_PREFIX = "screenshot.";
	public static final String CON_DRIVER_ATTR = "driver";
			
	// list of all global messages for exceptions or asserts
	public static final String ERR_MSG_PAGE_TIME_OUT = "Timeout waiting for loading page";
	public static final String ERR_MSG_NOT_AVAILABLE_TO_ACTION = "Control is not available to action";
	public static final String ERR_MSG_ELEMENT_NOT_FOUND = "Control not found";
	public static final String ERR_MSG_ELEMENT_HIDDEN = "Control is hidden";
	public static final String ERR_MSG_EXCEL_FILE_NOT_FOUND = "Excel file not found";
	public static final String ERR_MSG_NO_ITEMS_FOUND = "No items found";

}
